.head-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    background-color: #fff;
    box-shadow: inset 0 -1px #f1f2f3 !important;

    .left {
        display: flex;
        align-items: center;

        .logo {
            margin: 0 20px;
            width: 100px;
            height: 40px;
            background-color: skyblue;
            color: white;
            text-align: center;
            line-height: 40px;
            cursor: pointer;
        }

        .nav {
            display: flex;
            align-items: center;

            .item {
                position: relative;
                padding: 0 10px;
                cursor: pointer;

                &.active {
                    &::after {
                        position: absolute;
                        bottom: -6px;
                        left: 50%;
                        width: 50%;
                        height: 2px;
                        background-color: red;
                        content: '';
                        transition: all 0.1s ease;
                        transform: translateX(-50%);
                    }
                }

                &::after {
                    position: absolute;
                    bottom: -6px;
                    left: 50%;
                    width: 0px;
                    height: 2px;
                    background-color: red;
                    content: '';
                    transition: all 0.1s ease;
                    transform: translateX(-50%);
                }

                &:hover {
                    &::after {
                        width: 50%;
                    }
                }
            }
        }
    }

    .search {
        flex: 1;

        .ipt {
            display: block;
            box-sizing: border-box;
            margin: 0 auto;
            padding: 10px 20px;
            min-width: 200px;
            outline: none;
            border: 1px solid hsla(0, 0%, 60%, 0.2);
            border-radius: 8px;
            border-radius: 10px;
            background-color: #f1f2f3;
            font-size: 14px;
        }
    }

    .right {
        display: flex;
        align-items: center;
        margin-right: 20px;

        @keyframes big-small {

            0%,
            100% {
                transform: scale(1);
            }

            50% {
                transform: scale(0.9);
            }
        }

        .start {
            margin-right: 10px;
            padding: 5px 10px;
            border-radius: 6px;
            background-color: skyblue;
            color: white;
            font-size: 14px;
            cursor: pointer;

            &.ani {
                animation: big-small 1s ease infinite;
            }
        }
    }
}